libxl: Implement libxl_basename()
authorChristoph Egger <Christoph.Egger@amd.com>
Thu, 6 Jan 2011 14:25:10 +0000 (14:25 +0000)
committerChristoph Egger <Christoph.Egger@amd.com>
Thu, 6 Jan 2011 14:25:10 +0000 (14:25 +0000)
commitd8318dc19b559da05efc2cccabe4290dc3e5d446
treec7fe235284fbc34d3b01c0037a113f1043c5b58c
parentf1bbc236c60a39b2c52f50d912d8a4f06ad4bf4b
libxl: Implement libxl_basename()

This patch implements libxl_basename() as a portable replacement
for GNU vs. POSIX basename.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_utils.c
tools/libxl/libxl_utils.h
tools/libxl/xl_cmdimpl.c